﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using DTO;
using BUS;

namespace WebSieuThi.TinHoc.QuanLiTaiKhoanAjax
{
    public partial class xoaus : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            int id = int.Parse(Request.QueryString["id"]);
            

            bool b = TaiKhoanNguoiDungBUS.Xoa(id);

            if (b)
            {
                Response.Write("Xóa thành công!");
            }
            else
            {
                Response.Write("Xóa thất bại!");
            }
            

        }
    }
}
